﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Kay.LazarToDo.Win.Bases;

namespace Kay.LazarToDo.Win.Models
{
    /// <summary>
    /// 待办事项记录表
    /// </summary>
    public class TjlLazarToDo : FullEntity<Guid>
    {
        /// <summary>
        /// 事项
        /// </summary>
        [MaxLength(4000)]
        [Column(TypeName = "nvarchar")]
        public string ToDo { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }

        /// <summary>
        /// 所属项目
        /// </summary>
        public TjlProject Project { get; set; }
    }
}
